use crypto::md5::Md5;
use crypto::digest::Digest;
use crypto::sha2::Sha256;
use crypto::aesni::AesNiEncryptor;
use crypto::aes_gcm::AesGcm;

pub fn md5_test() {
    let md5_str = "Hello World";
    let mut md5 = Md5::new();
    md5.input_str(md5_str);
    let val = md5.result_str();
    println!("The Md5 is {}", val);
}

pub fn sha_test() {
    let sha_str = "Hello World";
    let mut sha256 = Sha256::new();
    sha256.input_str(sha_str);
    println!("The Sha256 is {}", sha256.result_str());
}

pub fn aes_encrypto_test(){

}